package com.itany.corejava.day03;

public class Test11 {

    public static void main(String[] args) {

        for (int i = 2; i <= 100; i++) {

            boolean b=true;

            for (int j = 2; j < i; j++) {
                if(i%j==0){
                    b=false;
                    break;
                }
            }

            if(true==b){
                System.out.println(i);
            }


        }


    }

}
